<template>
	<view class="container">
		<web-view :src="app_url"></web-view>
	</view>
</template>
<style>
</style>
<script>
	export default {
		data() {
			return {
				app_url:"",
				url: getApp().globalData.url,
				static:getApp().globalData.static
			}
		},
		onLoad(e) {
			var res = uni.getSystemInfoSync();
			var w = res.windowWidth;
			this.w = w+"px";
			this.h = res.windowHeight+"px";		
			this.app_url = e.url;
		},
		onShow()
		{
			var member_id = uni.getStorageSync("member_id");
			console.log(member_id);
			if(member_id!="")
			{
				// this.initialize();
			}
		},
		onPullDownRefresh() {
			// var member_id = uni.getStorageSync("member_id");
			console.log("onPullDownRefresh");
			this.refresh_status = 1;
			this.initialize();
		},
		methods: {
			app_login_submit:function()
			{
				uni.navigateTo({
					url:"login"
				})
			}
		}
	}
</script>
